home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Agent Central Host Computer
/
Agent - Central Host Computer.iso
/
_SETUP.1
/
vbatchadjust.sql
< prev
next >
Wrap
Text File
|
2000-05-12
|
429b
|
13 lines
/*
sums the batch adjustments for a given batch total sequence number. Outer join is to
ensure that there is a record for the vcbcount view to process
*/
create or replace view vbatchadjust as
select sum(total_adjust) batch_adjust,
batchtotals.batch_total_seq_num
from adjustment ,
batchtotals
where adjustment.batch_total_seq_num (+) = batchtotals.batch_total_seq_num
group by batchtotals.batch_total_seq_num;